import { Router } from 'express'

const router = Router()

router.get('/health', (_req, res) => {
  res.json({
    code: 200,
    data: { message: '服务器运行正常', timestamp: new Date().toISOString() },
    msg: '健康检查成功',
  })
})

export default router
